﻿using Ducu.BLL.Entity;
using FluentNHibernate.Mapping;

namespace Ducu.BLL.NHMap
{
    class EntityMap<T> : ClassMap<T> where T : BaseEntity
    {
        public EntityMap()
        {
            Id(m => m.Id);
            Map(m => m.CreateTime).Index("IX_CreateTime");
        }
    }
}
